//
//  Level3Layer.h
//
//  header file for third level of the game
// 

#import <GameKit/GameKit.h>
#import "cocos2d.h"

// this class implements the scene including the background, game logic, and
// animations for the second level of the game.
@interface Level3Layer : CCLayer
{
@private
    CCLabelTTF *_timeLabel;
    CCLabelTTF *_scoreLabel;
    int _currentTime;
    
    // a static list of all moving objects that will appear on screen
    NSArray *_distractionObjects;
    
    // a static list of potential "wanted" objects in this level,
    // aactual wanted objects each time will be randomly determined
    NSMutableArray *_allWantedObjects;
    
    // a dynamically created list of the three "wanted" objects
    // all the elements are randomly determined
    NSMutableArray *_wantedObjects;
    
    // a list that keep tracks of all the sprites that are currently
    // shown in the screen. this is crucial in implementing the
    // main game logic
    NSMutableArray *_currentScreenObjects;
}

// returns a CCScene that contains the level 3 layer as the only child
+(CCScene *) scene;

@end